package com.example.bookseckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.bookseckill.entity.OrderEntity;
import com.example.bookseckill.entity.to.mq.SeckillOrderTo;

/**
 * 订单
 */
public interface OrderService extends IService<OrderEntity> {

    /**
     * 创建秒杀单
     * @param orderTo
     */
    void createSeckillOrder(SeckillOrderTo orderTo);
}
